package com.js.purs.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采购对象 pur_prod_budget
 * 
 * @author lzq
 * @date 2024-06-12
 */
public class PurProdBudget extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预算编号 */
    private String bgId;

    /** 计划编码 */
    @Excel(name = "计划编码")
    private String planCode;

    /** 预算名称 */
    @Excel(name = "预算名称")
    private String bgName;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal totalAmount;

    /** 已使用金额 */
    @Excel(name = "已使用金额")
    private BigDecimal useMoney;

    /** 剩余金额 */
    @Excel(name = "剩余金额")
    private BigDecimal surpMoney;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String createPost;

    /** 预算商品 */
    private List<PurProdInfo> purProdInfos;

    public List<PurProdInfo> getPurProdInfos() {
        return purProdInfos;
    }

    public void setPurProdInfos(List<PurProdInfo> purProdInfos) {
        this.purProdInfos = purProdInfos;
    }

    public void setBgId(String bgId)
    {
        this.bgId = bgId;
    }

    public String getBgId()
    {
        return bgId;
    }
    public void setPlanCode(String planCode) 
    {
        this.planCode = planCode;
    }

    public String getPlanCode() 
    {
        return planCode;
    }
    public void setBgName(String bgName) 
    {
        this.bgName = bgName;
    }

    public String getBgName() 
    {
        return bgName;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setUseMoney(BigDecimal useMoney) 
    {
        this.useMoney = useMoney;
    }

    public BigDecimal getUseMoney() 
    {
        return useMoney;
    }
    public void setSurpMoney(BigDecimal surpMoney) 
    {
        this.surpMoney = surpMoney;
    }

    public BigDecimal getSurpMoney() 
    {
        return surpMoney;
    }
    public void setCreatePost(String createPost) 
    {
        this.createPost = createPost;
    }

    public String getCreatePost() 
    {
        return createPost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bgId", getBgId())
            .append("planCode", getPlanCode())
            .append("bgName", getBgName())
            .append("totalAmount", getTotalAmount())
            .append("useMoney", getUseMoney())
            .append("surpMoney", getSurpMoney())
            .append("createPost", getCreatePost())
            .toString();
    }
}
